/*
 * Copyright (C) 2015 备胎金服
 * 未经授权允许不得进行拷贝和修改
 *   http://www.btjf.com/
 */
package com.zhangman.androidgame;

import com.zhangman.framework.Game;
import com.zhangman.framework.Graphics;
import com.zhangman.framework.Screen;

/**
 * Created by zhangman on 2016/11/1 15:49.
 * Email: zhangman523@126.com
 */
public class SplashLoadingScreen extends Screen {

  public SplashLoadingScreen(Game game) {
    super(game);
  }

  @Override public void update(float deltaTime) {
    Graphics graphics = mGame.getGraphics();
    Assets.splash = graphics.newImage("splash.jpg", Graphics.ImageFormat.RGB565);
    mGame.setScreen(new LoadingScreen(mGame));
  }

  @Override public void pain(float deltaTime) {

  }

  @Override public void pause() {

  }

  @Override public void resume() {

  }

  @Override public void dispose() {

  }

  @Override public void backButton() {

  }
}
